package com.ysy.tz.mfg.entity;

public class CarcassOutWarehouseEntity extends CarcassInWarehouseEntity {
    private Integer customerId;
    private String customerCode;
    private String customerName;
    private String contactPerson;
    private String telephone;
    private String outWarehouseDay;
    private String outWarehouseBeginDay;
    private String outWarehouseEndDay;

    public CarcassOutWarehouseEntity() {
    }

    public Integer getCustomerId() {
        return this.customerId;
    }

    public String getCustomerCode() {
        return this.customerCode;
    }

    public String getCustomerName() {
        return this.customerName;
    }

    public String getContactPerson() {
        return this.contactPerson;
    }

    public String getTelephone() {
        return this.telephone;
    }

    public String getOutWarehouseDay() {
        return this.outWarehouseDay;
    }

    public String getOutWarehouseBeginDay() {
        return this.outWarehouseBeginDay;
    }

    public String getOutWarehouseEndDay() {
        return this.outWarehouseEndDay;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setOutWarehouseDay(String outWarehouseDay) {
        this.outWarehouseDay = outWarehouseDay;
    }

    public void setOutWarehouseBeginDay(String outWarehouseBeginDay) {
        this.outWarehouseBeginDay = outWarehouseBeginDay;
    }

    public void setOutWarehouseEndDay(String outWarehouseEndDay) {
        this.outWarehouseEndDay = outWarehouseEndDay;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof CarcassOutWarehouseEntity)) {
            return false;
        } else {
            CarcassOutWarehouseEntity other = (CarcassOutWarehouseEntity)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$customerId = this.getCustomerId();
                    Object other$customerId = other.getCustomerId();
                    if (this$customerId == null) {
                        if (other$customerId == null) {
                            break label107;
                        }
                    } else if (this$customerId.equals(other$customerId)) {
                        break label107;
                    }

                    return false;
                }

                Object this$customerCode = this.getCustomerCode();
                Object other$customerCode = other.getCustomerCode();
                if (this$customerCode == null) {
                    if (other$customerCode != null) {
                        return false;
                    }
                } else if (!this$customerCode.equals(other$customerCode)) {
                    return false;
                }

                Object this$customerName = this.getCustomerName();
                Object other$customerName = other.getCustomerName();
                if (this$customerName == null) {
                    if (other$customerName != null) {
                        return false;
                    }
                } else if (!this$customerName.equals(other$customerName)) {
                    return false;
                }

                label86: {
                    Object this$contactPerson = this.getContactPerson();
                    Object other$contactPerson = other.getContactPerson();
                    if (this$contactPerson == null) {
                        if (other$contactPerson == null) {
                            break label86;
                        }
                    } else if (this$contactPerson.equals(other$contactPerson)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$telephone = this.getTelephone();
                    Object other$telephone = other.getTelephone();
                    if (this$telephone == null) {
                        if (other$telephone == null) {
                            break label79;
                        }
                    } else if (this$telephone.equals(other$telephone)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$outWarehouseDay = this.getOutWarehouseDay();
                    Object other$outWarehouseDay = other.getOutWarehouseDay();
                    if (this$outWarehouseDay == null) {
                        if (other$outWarehouseDay == null) {
                            break label72;
                        }
                    } else if (this$outWarehouseDay.equals(other$outWarehouseDay)) {
                        break label72;
                    }

                    return false;
                }

                Object this$outWarehouseBeginDay = this.getOutWarehouseBeginDay();
                Object other$outWarehouseBeginDay = other.getOutWarehouseBeginDay();
                if (this$outWarehouseBeginDay == null) {
                    if (other$outWarehouseBeginDay != null) {
                        return false;
                    }
                } else if (!this$outWarehouseBeginDay.equals(other$outWarehouseBeginDay)) {
                    return false;
                }

                Object this$outWarehouseEndDay = this.getOutWarehouseEndDay();
                Object other$outWarehouseEndDay = other.getOutWarehouseEndDay();
                if (this$outWarehouseEndDay == null) {
                    if (other$outWarehouseEndDay != null) {
                        return false;
                    }
                } else if (!this$outWarehouseEndDay.equals(other$outWarehouseEndDay)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof CarcassOutWarehouseEntity;
    }

    public int hashCode() {
        int result = 1;
        Object $customerId = this.getCustomerId();
        result = result * 59 + ($customerId == null ? 43 : $customerId.hashCode());
        Object $customerCode = this.getCustomerCode();
        result = result * 59 + ($customerCode == null ? 43 : $customerCode.hashCode());
        Object $customerName = this.getCustomerName();
        result = result * 59 + ($customerName == null ? 43 : $customerName.hashCode());
        Object $contactPerson = this.getContactPerson();
        result = result * 59 + ($contactPerson == null ? 43 : $contactPerson.hashCode());
        Object $telephone = this.getTelephone();
        result = result * 59 + ($telephone == null ? 43 : $telephone.hashCode());
        Object $outWarehouseDay = this.getOutWarehouseDay();
        result = result * 59 + ($outWarehouseDay == null ? 43 : $outWarehouseDay.hashCode());
        Object $outWarehouseBeginDay = this.getOutWarehouseBeginDay();
        result = result * 59 + ($outWarehouseBeginDay == null ? 43 : $outWarehouseBeginDay.hashCode());
        Object $outWarehouseEndDay = this.getOutWarehouseEndDay();
        result = result * 59 + ($outWarehouseEndDay == null ? 43 : $outWarehouseEndDay.hashCode());
        return result;
    }

    public String toString() {
        return "CarcassOutWarehouseEntity(customerId=" + this.getCustomerId() + ", customerCode=" + this.getCustomerCode() + ", customerName=" + this.getCustomerName() + ", contactPerson=" + this.getContactPerson() + ", telephone=" + this.getTelephone() + ", outWarehouseDay=" + this.getOutWarehouseDay() + ", outWarehouseBeginDay=" + this.getOutWarehouseBeginDay() + ", outWarehouseEndDay=" + this.getOutWarehouseEndDay() + ")";
    }
}
